<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

<title>Insert title here</title>
</head>
<body>
	<h1>这是新增页面</h1>
	<form action="#">
		<div class="form-group has-success has-feedback">
	  		<label class="control-label" for="inputSuccess2">班级名字</label>
	  		<input type="text" class="form-control" id="editclassname" >
		</div>
	
		<div class="form-group has-warning has-feedback">
	 		<label class="control-label" for="inputWarning2">带课老师</label>
	  		<input type="text" class="form-control" id="editteachername" >
		</div>
	
		<div class="form-group has-error has-feedback">
		  <label class="control-label" for="inputError2">班级人数</label>
		  <input type="text" class="form-control" id="inputError2" >
		</div>
	
		<div class="form-group has-success has-feedback">
		  <label class="control-label" for="inputGroupSuccess1">开始时间(格式:2017-1-2)</label>
		  <input type="text" class="form-control" id="inputGroupSuccess1">
		</div>
		
		<div class="form-group has-success has-feedback">
		  <label class="control-label" for="inputGroupSuccess1">结束时间(格式:2017-1-2)</label>
		  <input type="text" class="form-control" id="inputGroupSuccess1">
		</div>
		
		<button type="submit">提交</button>
		<button type="button" onclick="editclassback()" >返回列表</button>
	</form>
</body>
</html>
<script>
	function editclassback(){
		window.location.href="class.jsp";
	}
</script>